/**
 * 理解Ext.apply核心事件的原理 为了避免冲突把Ext替换成My
 * 
 */
My = {
	version: '3.1.0'
};
My.apply = function(o, c, defaults) {
	// no "this" reference for friendly out of scope calls
	if (defaults) {
		My.apply(o, defaults);
	}
	if (o && c && typeof c == 'object') {
		for (var p in c) {
			log(p); // 此处是添加的输出语句
			o[p] = c[p];
		}
	}
	return o;
};
var obj = {},
	obj1 = {
		name: 'jack'
	},
	obj2 = {
		age: 33
	};
My.apply(obj, obj1, obj2);
log(obj);
